/**
 * @Question WeekDayConverter
 * @Date 2023/3/16 16:18
 * @Solution
 */
public class WeekDayConverter {
    public static void main(String[] args) {
        int weekDay=Integer.parseInt(args[0]);
        if(weekDay==1) {
            System.out.println("The 1th day of the week is Monday.");
        } else if(weekDay==2) {
            System.out.println("The 2th day of the week is Tuesday.");
        } else if(weekDay==3) {
            System.out.println("The 3th day of the week is Thursday.");
        } else if(weekDay==4) {
            System.out.println("The 4th day of the week is Thursday.");
        } else if(weekDay==5) {
            System.out.println("The 5th day of the week is Friday.");
        } else if(weekDay==6) {
            System.out.println("The 6th day of the week is Saturday.");
        } else if(weekDay==7){
            System.out.println("The 7th day of the week is Sunday.");
        }
    }
}
